package router

import (
	beego "github.com/beego/beego/v2/server/web"
	web "ksd-social-api/modules/common/oss/controller"
)

func init() {
	// oss文件上传
	beego.CtrlPost("/api/v1/oss/upload/file", (*web.OssAliyunController).UploadFile)
	beego.CtrlPost("/api/v1/oss/upload/note", (*web.OssAliyunController).UploadFileNote)
	beego.CtrlPost("/api/v1/oss/upload/bbs", (*web.OssAliyunController).UploadFileBbs)
}
